package org.clzps.filetransfer.common;

import java.util.Calendar;

/**
 * Basic Common Class, not include Synchronized Method
 * @author AriesChou 17/09/2011
 *
 */
public class BasicCommon extends AbstractCommon{
	
	/**
	 * 获取根据年/月/日格式生成的存储路径(eg: 2011/09/17)
	 * @return 返回存储路径String
	 */
	public static String getStorePath() {
		return calendar.get(Calendar.YEAR) + "/" + formatter.format(calendar.get(Calendar.MONTH) + 1) +
				"/" + formatter.format(calendar.get(Calendar.DAY_OF_MONTH));
	}
}
